const mongoose = require("mongoose");

const LoginSchema = new mongoose.Schema({
	openId: { type: String, required: [true, "Please add a openId"] },
	createdAt: { type: Date, default: Date.now },
});

module.exports = mongoose.model("Login", LoginSchema);
